package cn.com.dhcc.turbo.entity.api;

import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
/**
 * 发送响应
 * 数据发送发发给交换平台数据后，交换平台给发送方的响应
 * @author 高强
 *
 */
@XStreamAlias("sendResp")
public class SendResp {
	/**
	 * 组消息
	 */
	@XStreamAlias("groupId")
	private String groupId;
	
	/**
	 * 数据类型
	 */
	@XStreamAlias("datatype")
	private String datatype;
	
	/**
	 * 发送状态 200 成功; 400参数异常; 500服务器异常
	 */
	@XStreamAlias("status")
	private String status;
	
	/**
	 * 响应消息
	 */
	@XStreamAlias("message")
	private String message;
	
	/**
	 * 数据接收时间 格式YYYYMMDDHHmmss
	 */
	private String date;
	
	@XStreamImplicit
	private List<OrderResp> orderRespList;

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getDatatype() {
		return datatype;
	}

	public void setDatatype(String datatype) {
		this.datatype = datatype;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public List<OrderResp> getOrderRespList() {
		return orderRespList;
	}

	public void setOrderRespList(List<OrderResp> orderRespList) {
		this.orderRespList = orderRespList;
	}

	@Override
	public String toString() {
		return "SendResps [groupId=" + groupId + ", datatype=" + datatype
				+ ", status=" + status + ", message=" + message + ", date="
				+ date + ", orderRespList=" + orderRespList + "]";
	}


}
